package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * 会员消息信息
 * Created by Lemon on 22/04/2017.
 */
public class MemberMessage extends BaseModel<MemberMessage> {

    /** 有新消息(1-是/0-否)*/
    public String is_new_message="";
    /** 新消息数量*/
    public String new_message_count;

    @Override
    public MemberMessage parse(JSONObject jsonObject) {
        if(jsonObject != null) {
            is_new_message = jsonObject.optString("is_new_message");
            new_message_count = jsonObject.optString("new_message_count");
            return this;
        }
        return null;
    }
}
